package com.huanmeiqi.demo.persistence.two.annotation;

import com.huanmeiqi.demo.persistence.two.DatabaseType;

import java.lang.annotation.*;

/**
 * @author cq.Wang
 * @date 2018/6/14 13:40
 * @description
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Inherited
public @interface BindDataSource {

    DatabaseType value() default DatabaseType.READ_DB;
}
